-- GENERATED SPELL FOR [Tyrande Whisperwind] --


function spell0_17948(pUnit, Event) --@Starfall,n/a--
pUnit:FullCastSpellOnTarget(20687,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17948', 10000, 1)
end

function Sorts_17948(pUnit, Event)
local choix_sorts_17948 = math.random(0, 0)
if choix_sorts_17948 == 0 then
pUnit:RegisterEvent('spell0_17948', 1, 1)
end
end

function mob17948_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17948', math.random(1500, 3000), 1)
end

function mob17948_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17948_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17948_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17948, 1, 'mob17948_Action')
RegisterUnitEvent(17948, 2, 'mob17948_Leave')
RegisterUnitEvent(17948, 3, 'mob17948_Kill')
RegisterUnitEvent(17948, 4, 'mob17948_Die')
